{if $paginate.page_current > 1}{paginate_first}{/if} {paginate_prev} {paginate_middle format="page"} {paginate_next} {if $paginate.page_current < $paginate.page_total}{paginate_last}{/if}